package edu.umuc.cmsc495_final_project;

public enum TableType {
	// Name, person seats avail, width, height
	BAR_STOOL("1 Person Bar Stool", 1, 20, 20),
	TWO_PERSON_ROUND("2 Person Round", 2, 50, 50),
	FOUR_PERSON_ROUND("4 Person Round", 4, 100, 100),
	SIX_PERSON_ROUND("6 Person Round", 6, 150, 150),
	TWO_PERSON_RECT("2 Person Rectangle", 2, 50, 50),
	FOUR_PERSON_RECT("4 Person Rectangle", 4, 100, 100),
	SIX_PERSON_RECT("6 Person Rectangle", 6, 150, 150),
	EIGHT_PERSON_RECT("8 Person Rectangle", 8, 200, 200);
	
	private final String printedName;
	private final int seatsAvail;
	private final int tableWidth;
	private final int tableHeight;
	
	TableType(String printedName, int seatsAvail, int tableWidth, int tableHeight){
		this.printedName = printedName;
		this.seatsAvail = seatsAvail;
		this.tableWidth = tableWidth;
		this.tableHeight = tableHeight;
	}
	
	public int getSeats(){
		return seatsAvail;
	}
	
	public int getWidth(){
		return tableWidth;
	}
	
	public int getHeight(){
		return tableHeight;
	}
	
	public String toString(){
		return printedName; 
	}
}
